<form id="pagerForm" action="{:U($module_name.'/'.$action_name)}">
	<input type="hidden" name="pageNum" value="{$pageNum}" />
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
	<input type="hidden" name="orderField" value="{$orderField}" />
	<input type="hidden" name="orderDirection" value="{$orderDirection}" />
	<input type="hidden" name="keywords" value="{$keywords}" />
	<input type="hidden" name="tn" value="{$tn}" />
	<input type="hidden" name="fn" value="{$fn}" />
	<input type="hidden" name="where" value="{$where}" />
	<input type='hidden' name='field' value='{$field}' />
</form>


<div class="pageHeader">
	<form rel="pagerForm" method="post" action="{:U($module_name.'/'.$action_name)}" onsubmit="return dwzSearch(this, 'dialog');">
	<div class="searchBar">
		
	</div>
	</form>
</div>
<div class="pageContent">

	<table class="table" layoutH="96" targetType="dialog" width="100%">
		<thead>
			<tr>
				<th width="60" orderField="money_auth" {if $orderField=='money_auth'}class="{$orderDirection}"{/if}>授权号</th>
				<th>预付款金额</th>
				<th orderField="ctime" {if $orderField=='ctime'}class="{$orderDirection}"{/if}>创建时间</th>
				<th orderField="statu" {if $orderField=='statu'}class="{$orderDirection}"{/if}>状态</th>
				<th width="80">查找带回</th>
			</tr>
		</thead>
		<tbody>
<volist name="list" id="vo">
			<tr>
				<td>{$vo['money_auth']}</td>
				<td>
			<php>
            $oedu=unserialize($vo['oedu']);
            $oedu['amount'] = $oedu['amount']/100;   
			$oedu['give']  = $oedu['give']/100; 
            </php>
					       预付款：{$oedu['amount']} 赠送BV：{$oedu['give']}
				</td>
				<td>{if $vo['ctime']}{$vo['ctime']|date='Y-m-d H:i:s',###}{/if}</td>
				<td>
					 <if condition="$vo['statu'] eq 1">
                    已使用<elseif condition="$vo['statu'] eq 0" />未使用<elseif condition="$vo['statu'] eq 3" />已作废
                    </if>
					
				</td>
				<td>
	<php>
					echo "<a class=\"btnSelect\" href=\"javascript:$.bringBack({money_auth:'".$vo['money_auth']."', money_passwd:'".$vo['money_passwd']."', amount:'".$oedu['amount']."',give:'".$oedu['give']."'})\" title=\"查找带回\">选择</a>";
	</php>
				</td>
			</tr>
</volist>
		</tbody>
	</table>

	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
		<select class="combox" name="numPerPage" onchange="navTabPageBreak({targetType:dialog,numPerPage:this.value})">
			<option value="20" {if $numPerPage==20}selected="selected"{/if}>20</option>
			<option value="50" {if $numPerPage==50}selected="selected"{/if}>50</option>
			<option value="66" {if $numPerPage==66}selected="selected"{/if}>66</option>
			<option value="100" {if $numPerPage==100}selected="selected"{/if}>100</option>
			<option value="200" {if $numPerPage==200}selected="selected"{/if}>200</option>
			<option value="500" {if $numPerPage==500}selected="selected"{/if}>500</option>
		</select>
		<span>条，共{$totalCount}条</span>
		</div>
		<div class="pagination" targetType="dialog" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$pageNum}"></div>
	</div>
</div>